Skip to content

Add support for aarch64 musl #569

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add support for aarch64 musl #569

wants to merge 1 commit into from

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Mar 19, 2025

Closes #87

As noted there, this is likely not trivial — I'm just posting the target definition changes to start but actually setting up the toolchain is going to be more work.

Related #484

@zanieb zanieb force-pushed the zb/aarch64-musl branch 2 times, most recently from 235cded to 190ba74 Compare March 19, 2025 21:56
@zanieb
Copy link
Member Author

zanieb commented Mar 19, 2025

The failure is

m4> checking for gcc... /usr/bin/x86_64-linux-musl-gcc
m4> checking whether the C compiler works...
m4> no

which is unsurprising

@jakeybrown92
Copy link

Do we know when is likely to be released? currently blocking running on latest arm64 on mac and inside our arm64 runner builds

docker run -it --platform=linux/arm64 ghcr.io/astral-sh/uv:python3.10-alpine uv python install 3.12
error: No download found for request: cpython-3.12-linux-aarch64-musl

@zanieb
Copy link
Member Author

zanieb commented May 7, 2025

@jakeybrown92 not anytime soon, it's non-trivial as mentioned several times (e.g., #87 (comment)).

@jakeybrown92
Copy link

@zanieb fair enough.. I thought you meant the fix was non trivial. So there isn't currently any workaround when using alpine on latest arm64?

@zanieb
Copy link
Member Author

zanieb commented May 7, 2025

I would use the Python versions from the distribution instead of the uv managed ones for now.

@jakeybrown92
Copy link

@zanieb okay thanks. We're currently doing that but just wanted to explore UV, but don't really want to change OS. No worries. Appreciate the replies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

musl-based aarch64 build
2 participants